<!DOCTYPE html>
<html>
<head>
<title>req_assign</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<link rel="stylesheet" type="text/css"
	href="/codebase/fonts/font_roboto/roboto.css" />
<link rel="stylesheet" type="text/css" href="/codebase/dhtmlx.css" />
<script type="text/javascript" src="/codebase/dhtmlx.js" />
<style>
div#simpleLog {
	height: 200px;
	font-family: Roboto, Arial, Helvetica;
	font-size: 14px;
	color: #404040;
	overflow: auto;
}

div#div_label1{	
	font-family: Roboto, Arial, Helvetica;
	font-size: 14px;
	color: #404040;
	overflow: auto;
	padding-left: 50px;
}

div#div_label2{	
	font-family: Roboto, Arial, Helvetica;
	font-size: 14px;
	color: #404040;
	overflow: auto;
	padding-left: 50px;
}

div#editorObj1 {
	width: 800px;
	height: 150px;
	border: 1px solid #dfdfdf;
}
div#editorObj2 {
	width: 800px;
	height: 150px;
	border: 1px solid #dfdfdf;
}

div#my_tabbar {
	width:1000px;
	height: 400px;
	border: 1px solid #dfdfdf;
}



</style>
<script>
	var myTabbar,myForm, myEditor1,myEditor2,myForm2,form_attach;
	var dhxWins ;
	var customCss = {
		video_bitrate : "validate_magenta",
		video_codec : "validate_orange"
	};
	
	function doOnLoad() {
		//alert("onload req assign");
		if (myForm) {
			myForm.unload();
			myForm = null;
		}
		myForm = new dhtmlXForm("form_req_assign_details");
		myForm.loadStruct("/common/testmanager/req_modify_detail.xml");
		
		//tabbar

			myTabbar = new dhtmlXTabBar({
				parent: "my_tabbar",
				//close_button: true,
				//skin: skin,
				tabs: [
					{ id: "a1", text: "基本信息", active: true },
					{ id: "a2", text: "项目成员" },
					{ id: "a3", text: "工作量" },
					{ id: "a4", text: "工作日志" }
				]
			});		
		
			/*
			myTabbar.tabs("a1").attachURL("req_modify_detail_base_info");
			
			// 
			//myToolbar = myTabbar.tabs("a1").attachToolbar();
			myToolbar = myTabbar.tabs("a1").attachToolbar({
				icons_path: "/common/imgs/",
				xml: "/common/testmanager/req_modify_detail_base_info_toolbar.xml"
			});		
		
			myTabbar.tabs("a2").attachURL("req_modify_detail_team_info");
			// 
			//myToolbar = myTabbar.tabs("a1").attachToolbar();
			myToolbar = myTabbar.tabs("a2").attachToolbar({
				icons_path: "/common/imgs/",
				xml: "/common/testmanager/req_modify_detail_base_info_toolbar.xml"
			});	
			
			myTabbar.tabs("a3").attachURL("req_modify_detail_workload_info");
			// 
			//myToolbar = myTabbar.tabs("a3").attachToolbar();
			myToolbar = myTabbar.tabs("a3").attachToolbar({
				icons_path: "/common/imgs/",
				xml: "/common/testmanager/req_modify_detail_base_info_toolbar_new_save.xml"
			});	
			
			myTabbar.tabs("a4").attachURL("req_modify_detail_work_log_info");
			// 
			//myToolbar = myTabbar.tabs("a3").attachToolbar();
			myToolbar = myTabbar.tabs("a4").attachToolbar({
				icons_path: "/common/imgs/",
				xml: "/common/testmanager/req_modify_detail_base_info_toolbar_new_save.xml"
			});	

*/
		

		
	}
	

</script>
</head>
<body onload="doOnLoad();">
	<table>
		<tr>
			<td>
				<div id="form_req_assign_details" ></div>
			</td>
		</tr>
	</table>
	<table>
		<tr>
			<td>
				<div id="my_tabbar" ></div>
			</td>
		</tr>
	</table>
	
</body>
</html>